﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace DMSWcfServices
{
    // NOTE: If you change the interface name "IIUser" here, you must also update the reference to "IIUser" in Web.config.
    [ServiceContract]
    public interface IIUser
    {
        [OperationContract]
        Boolean validateUser(string UserName,string Password);
        [OperationContract]
        string getRols();
        [OperationContract]
        int setUser(string idUser, string userName, string name, string pass, string mail, string skype, string msn, string phone, string phone2, int rol, string status,bool encriptar);
        [OperationContract]
        string getUserbyUserName(string userNave);
        [OperationContract]
        string getUsers();
    }
}
